﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000665 RID: 1637
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetBoxingClubInfoScRsp : IMessage<GetBoxingClubInfoScRsp>, IMessage, IEquatable<GetBoxingClubInfoScRsp>, IDeepCloneable<GetBoxingClubInfoScRsp>, IBufferMessage
	{
		// Token: 0x17001534 RID: 5428
		// (get) Token: 0x060049F7 RID: 18935 RVA: 0x000CBA21 File Offset: 0x000C9C21
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetBoxingClubInfoScRsp> Parser
		{
			get
			{
				return GetBoxingClubInfoScRsp._parser;
			}
		}

		// Token: 0x17001535 RID: 5429
		// (get) Token: 0x060049F8 RID: 18936 RVA: 0x000CBA28 File Offset: 0x000C9C28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetBoxingClubInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001536 RID: 5430
		// (get) Token: 0x060049F9 RID: 18937 RVA: 0x000CBA3A File Offset: 0x000C9C3A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetBoxingClubInfoScRsp.Descriptor;
			}
		}

		// Token: 0x060049FA RID: 18938 RVA: 0x000CBA41 File Offset: 0x000C9C41
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetBoxingClubInfoScRsp()
		{
		}

		// Token: 0x060049FB RID: 18939 RVA: 0x000CBA54 File Offset: 0x000C9C54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetBoxingClubInfoScRsp(GetBoxingClubInfoScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.challengeList_ = other.challengeList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060049FC RID: 18940 RVA: 0x000CBA8A File Offset: 0x000C9C8A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetBoxingClubInfoScRsp Clone()
		{
			return new GetBoxingClubInfoScRsp(this);
		}

		// Token: 0x17001537 RID: 5431
		// (get) Token: 0x060049FD RID: 18941 RVA: 0x000CBA92 File Offset: 0x000C9C92
		// (set) Token: 0x060049FE RID: 18942 RVA: 0x000CBA9A File Offset: 0x000C9C9A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001538 RID: 5432
		// (get) Token: 0x060049FF RID: 18943 RVA: 0x000CBAA3 File Offset: 0x000C9CA3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<HKFBMLKMOMJ> ChallengeList
		{
			get
			{
				return this.challengeList_;
			}
		}

		// Token: 0x06004A00 RID: 18944 RVA: 0x000CBAAB File Offset: 0x000C9CAB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetBoxingClubInfoScRsp);
		}

		// Token: 0x06004A01 RID: 18945 RVA: 0x000CBABC File Offset: 0x000C9CBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetBoxingClubInfoScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.challengeList_.Equals(other.challengeList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004A02 RID: 18946 RVA: 0x000CBB0C File Offset: 0x000C9D0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.challengeList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004A03 RID: 18947 RVA: 0x000CBB59 File Offset: 0x000C9D59
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004A04 RID: 18948 RVA: 0x000CBB61 File Offset: 0x000C9D61
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004A05 RID: 18949 RVA: 0x000CBB6C File Offset: 0x000C9D6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.challengeList_.WriteTo(ref output, GetBoxingClubInfoScRsp._repeated_challengeList_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004A06 RID: 18950 RVA: 0x000CBBBC File Offset: 0x000C9DBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.challengeList_.CalculateSize(GetBoxingClubInfoScRsp._repeated_challengeList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004A07 RID: 18951 RVA: 0x000CBC10 File Offset: 0x000C9E10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetBoxingClubInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.challengeList_.Add(other.challengeList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004A08 RID: 18952 RVA: 0x000CBC5D File Offset: 0x000C9E5D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004A09 RID: 18953 RVA: 0x000CBC68 File Offset: 0x000C9E68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 42U)
				{
					if (num != 104U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.challengeList_.AddEntriesFrom(ref input, GetBoxingClubInfoScRsp._repeated_challengeList_codec);
				}
			}
		}

		// Token: 0x04001D70 RID: 7536
		private static readonly MessageParser<GetBoxingClubInfoScRsp> _parser = new MessageParser<GetBoxingClubInfoScRsp>(() => new GetBoxingClubInfoScRsp());

		// Token: 0x04001D71 RID: 7537
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001D72 RID: 7538
		public const int RetcodeFieldNumber = 13;

		// Token: 0x04001D73 RID: 7539
		private uint retcode_;

		// Token: 0x04001D74 RID: 7540
		public const int ChallengeListFieldNumber = 5;

		// Token: 0x04001D75 RID: 7541
		private static readonly FieldCodec<HKFBMLKMOMJ> _repeated_challengeList_codec = FieldCodec.ForMessage<HKFBMLKMOMJ>(42U, HKFBMLKMOMJ.Parser);

		// Token: 0x04001D76 RID: 7542
		private readonly RepeatedField<HKFBMLKMOMJ> challengeList_ = new RepeatedField<HKFBMLKMOMJ>();
	}
}
